package com.ruoyi.record.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单词学习任务对象 word_study_step
 * 
 * @author ruoyi
 * @date 2025-07-03
 */
@Data
@EqualsAndHashCode(callSuper=false)
public class WordStudyStep extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String name;

    /** 总步数 */
    @Excel(name = "总步数")
    private Integer total;

    /** 创建人 */
    private String people;

    private String campus;

    /** 创建时间 */
    private Date time;

    /** 状态 */
    private Integer status;

    private Integer dept;

    //人数
    private Integer complete;
    private Integer send;

    private String rate;
    private String studentId;
    private String studentName;

    private String book;
    private String unit;
    private String type;

    //组号-占用
    private int times;

    private String studentList;

    /** 时间范围 */
    @Excel(name = "时间范围")
    private String scope;

    /** 激活的步骤 */
    @Excel(name = "激活的步骤")
    private Integer active;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("total", getTotal())
            .append("people", getPeople())
            .append("time", getTime())
            .append("status", getStatus())
            .append("scope", getScope())
            .append("active", getActive())
            .toString();
    }
}
